from pathlib import Path

BASE_DIR = Path(__file__).resolve().parent.parent

SERVER_HOST = '0.0.0.0'
SERVER_PORT = 10059

DB_DRIVER = 'mysql'
DB_HOST = '127.0.0.1'
DB_DB = 'blog'
DB_USER = 'root'
DB_PWD = '123456'

REDIS_HOST = '127.0.0.1'
REDIS_DB = '0'

SECRET_KEY = ''

DEFAULT_PAGE = 1

DEFAULT_PAGE_SIZE = 20

